package com.lq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author luoqian
 * @date 2022/3/21 20:56
 */
@TableName(value = "t_user")
@Data
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField(value = "account")
    private String account;
    @TableField(value = "username")
    private String username;
    @TableField(value = "password")
    private String password;
    @TableField(value = "sex")
    private String sex;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "cardId")
    private String cardId;
    @TableField(value = "auth")
    private int auth;
}
